<!DOCTYPE HTML>
<html ng-app="actionApp">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />

    <link rel="stylesheet" type="text/css" href="../static/h-ui/css/H-ui.css" />
    <link rel="stylesheet" type="text/css" href="../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../css/cmss.css">
    <link rel="stylesheet" type="text/css" href="../lib/Hui-iconfont/1.0.7/iconfont.css" />

    <script type="text/javascript" src="../vendors/jquery/dist/jquery.js"></script>
    <script type="text/javascript" src="../vendors/jquery/dist/jquery.min.js"></script>
    <script type="text/javascript" src="../lib/layer/2.1/layer.js"></script>
    <script type="text/javascript" src="../static/h-ui/js/H-ui.js"></script>
    <script type="text/javascript" src="../static/h-ui.admin/js/H-ui.admin.js"></script>
    <script type="text/javascript" src="../vendors/bootstrap/dist/js/bootstrap.js"></script>
    <script type="text/javascript" src="../vendors/bootstrap/dist/js/bootstrap-table.js"></script>
    <script type="text/javascript" src="../vendors/bootstrap/dist/js/bootstrap-table-zh-CN.min.js"></script>

    <script type="text/javascript" src="../vendors/angular/angular.min.js"></script>
    <script type="text/javascript" src="../../app.js"></script>
    <script type="text/javascript" src="../filter/common.js"></script>
    <script type="text/javascript" src="../services/service.js"></script>
    <script type="text/javascript" src="../datatable/bootstraptpls.js"></script>
    <script type="text/javascript" src="../controllers/projectManage.js"></script>
    <script type="text/javascript" src="../controllers/productManage.js"></script>
    <script type="text/javascript" src="../controllers/suiteManage.js"></script>
    <script type="text/javascript" src="../controllers/settingManage.js"></script>
    <script type="text/javascript" src="../filter/filter.js"></script>
    <title>BD-Factory</title>
</head>
<body>


<!-- Header section -->
<header class="navbar-wrapper">
    <div class="navbar navbar-fixed-top">
        <div class="container-fluid cl" style="padding-left: 0px !important;">
            <div style="width: 199px;background-color: #A479FF;height: 50px !important;opacity: 0.9;box-shadow: #ffffff;">
                <a class="logo navbar-logo f-l hidden-xs " href="homepage.html">
                    <img src="./img/logo.png"></a>
            </div>
            <a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;"></a>
            <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs h-50">
                <ul class="cl h-50">
                    <li class="h-50">
                        <a href="projectpage.html" class="mr-30 header">项目库</a>
                    </li>
                    <li class="h-50">
                        <a href="suitepage.html" class="mr-30 header">套件库</a>
                    </li>
                    <li class="h-50">
                        <a href="productpage.html" class="mr-30 header head-selected h-50">产品库</a>
                    </li>
                    <li class="h-50">
                        <a href="setting.html" class="mr-10 header">设置</a>
                    </li>
                </ul>
            </nav>
        </div>
    </div>
</header>
<!-- Header section END -->


<!-- Sidebar section -->
<aside class="Hui-aside" ng-controller="ProductPageController">
    <input runat="server" id="divScrollValue" type="hidden" value="" />
    <div class="menu_dropdown bk_2">
        <div class="pointer left-hover" ng-click = changeUrl(null,0)>
            <a> 产品库总览</a>
        </div>
        <div ng-repeat="item in productList" ng-click = changeUrl(item,$index+1) class="pointer">
            <a>{{item.productName}}</a>
        </div>
    </div>
</aside>
<!-- Sidebar section END -->

<!-- Tag section -->
<!-- 使用情况Tag -->
<section class="Hui-article-box">
    <div id="Hui-tabNav" class="Hui-tabNav hidden-xs" style="display: none">
        <div class="Hui-tabNav-wp">
            <ul id="min_title_list" class="acrossTab cl">
                <li class="active"><span title="产品库总览" data-href="product_use.html">产品库总览</span><em></em></li>
            </ul>
        </div>
        <div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a></div>
    </div>
    <div id="iframe_box" class="Hui-article">
        <div class="show_iframe">
            <div style="display:none" class="loading"></div>
            <iframe scrolling="yes" frameborder="0" src="product_use.html" name="myiframe"></iframe>
        </div>
    </div>
</section>
<!-- Tag section END -->


</body>
</html>
<script type="text/ng-template" id="productVersion.html">
    <div class="xn-modal-sm">
        <div class="xn-modal-sm radius">
            <div class="modal-header">
                <div class="text-c border-bottom ml-30 mr-30">编辑产品</div>
                <a class="close" style="background-image: url(./img/icon_close.png);top: 0;" aria-hidden="true" ng-click="doCancel()"></a>
            </div>
            <div class="modal-body-sm ">
                <div class="form-group line-div mt-24">
                    <label class="line-lable f-l ml-30"><span>版本号</span></label>
                    <div class="line-text-lg ml-10 f-l" ng-show="type == 'create'">
                        <input class="input-text radius line-text-lg f-l" type="text" name="version" ng-model="version" required="required" autofocus>
                    </div>
                    <div class="line-text-lg ml-10 f-l" ng-show="type == 'update'">
                        {{version}}
                    </div>
                </div>
                <div class="form-group line-div mt-16" ng-if="type == 'update'">
                    <label class="line-lable f-l ml-30"><span class="f-right ">文件名</span></label>
                    <div class="ml-10 f-l" style="width: 470px;">
                        {{fileName}}
                    </div>
                </div>
                <div class="form-group line-div mt-16">
                    <div class="ml-30 clearfix">
                        <label class="line-lable f-l"><span class="f-right ">文件名</span></label>
                        <input type="text" class="form-control f-l ml-10" style="width: 390px;" placeholder="  未选择任何文件" >
                        <input type="file" style="display: none;" id="upImportFileId" name="upImportFileId" contentEditable="false" accept="textml" />
                        <span class="input-group-addon xn-cursor f-l" style="width: 46px;height: 20px;font-size: 12px;white-space: nowrap;" onclick="upImportFileId.click()">选择文件</span>
                    </div>
                </div>
            </div>
            <div class="modal-footer-bdf mt-30 clearfix">
                <button class="btn btn-footer btn-default f-l" ng-click="doCancel()">取消</button>
                <button class="btn btn-footer success f-l" ng-click="doUpload()">确定</button>
            </div>
        </div>
    </div>
</script>
